package com.wuge.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuge.common.utils.PageUtils;
import com.wuge.gulimall.product.entity.CategoryEntity;
import com.wuge.gulimall.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author ñÒ¹ÚÎé
 * @email 1712378864@qq.com
 * @date 2021-06-27 14:36:04
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    public List<CategoryEntity> listWithTree();
    public List<Long> parentId(Long catId);

    List<CategoryEntity> getCatelog1level();

    Map<String, List<Catelog2Vo>> getCatelog2level();
}

